<?php
// +----------------------------------------------------------------------
// | [RhaPHP System] Copyright (c) 2017 http://www.rhaphp.com/
// +----------------------------------------------------------------------
// | [RhaPHP] 并不是自由软件,你可免费使用,未经许可不能去掉RhaPHP相关版权
// +----------------------------------------------------------------------
// | Author: Geeson <qimengkeji@vip.qq.com>
// +----------------------------------------------------------------------

namespace addons\chat\controller;


use think\Db;
use app\common\controller\Addon;

class Index extends Common
{


    public function initialize()
    {
        parent::initialize(); // TODO: Change the autogenerated stub
    }

    function index(){
        $member = getMemberInfo();
      $this->redirect('https://videohive.sobey.com/application/tvradio/h5/tvList.html?username='.$member['nickname'].'&headerimg='.$member['headimgurl']);
       // $this->redirect(addonUrl('index/tvList').'?username='.$member['nickname'].'&headerimg='.urlencode($member['headimgurl']));

    }
    function tvDetail(){
        $this->fetch();
    }

    function tvList(){
        $this->fetch();
    }






}